package com.yugao.fintech.antelope.pay.common.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.service.IService;
import com.yugao.fintech.antelope.pay.model.entity.MchInfo;
import com.yugao.fintech.antelope.pay.model.rqrs.MchInfoQL;
import com.yugao.fintech.antelope.pay.model.rqrs.MchInfoRQ;
import com.yugao.fintech.antelope.pay.model.rqrs.MchInfoRS;

import java.util.List;

/**
 * 商户信息表 服务实现类
 *

 */
public interface MchInfoService extends IService<MchInfo> {
    void saveMch(MchInfoRQ req);

    /**
     * 删除商户
     */
    List<Long> removeByMchNo(String mchNo);

    MchInfoRS getMchInfoByMchNo(String mchNo);

    IPage<MchInfoRS> pageMch(MchInfoQL query);

    void updateMch(MchInfoRQ req);
}
